<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
</h:head>

<h:body>

	<ui:composition template="/commonLayout.xhtml">
		<ui:define name="content">

			<div class="texte">

				<table>
					<tr>
						<td colspan="2"><h4><h:outputText
								value="#{profil.user.nom} #{profil.user.prenom}"
								style="font-weight:bold;"></h:outputText></h4></td>
					</tr>
					<tr>
						<td><h:graphicImage
								url="resources/images/puces/puce_gateau.png"></h:graphicImage></td>
						<td><h:outputText id="dateNaissance"
								value="#{profil.user.dateNaissance}"></h:outputText></td>
					</tr>
					<tr>
						<td><h:graphicImage
								url="resources/images/puces/puce_adresse.png"></h:graphicImage>
						</td>
						<td><h:outputText id="adresse" value="#{profil.user.adresse}"></h:outputText>
						</td>
					</tr>
					<tr>
						<td><h:graphicImage
								url="resources/images/puces/puce_niveau.png"></h:graphicImage></td>
						<td><h:outputText id="classe"
								value="#{profil.ecole} - #{profil.classe}"></h:outputText></td>
					</tr>
					<tr>
						<td><h:graphicImage url="resources/images/puces/puce_tel.png"></h:graphicImage>
						</td>
						<td><h:outputText id="numTel"
								value="#{profil.user.numeroTel}"></h:outputText></td>
					</tr>
					<tr>
						<td><h:graphicImage url="resources/images/puces/puce_eat.png"></h:graphicImage>
						</td>
						<td><h:outputText value="Demi-pensionnaire"
								rendered="#{profil.user.regime==1}"></h:outputText> <h:outputText
								value="Externe" rendered="#{profil.user.regime==2}"></h:outputText>
							<h:outputText value="Interne"
								rendered="#{profil.user.regime==3}"></h:outputText></td>
					</tr>
				</table>
				<h:outputText value="Informations diverses"
					style="font-weight:bold;"></h:outputText>
				<br /> <br />
				<h:outputText value="#{profil.user.informations}"></h:outputText>

			</div>


		</ui:define>
	</ui:composition>

</h:body>
</html>